<html>
<body>
<p>
    Reports <code>object</code>s (<code>data object</code> including) that implement <code>java.io.Serializable</code> but don't implement
    <a href="https://docs.oracle.com/en/java/javase/11/docs/specs/serialization/input.html#the-readresolve-method">readResolve</a>
</p>
<p><b>Example:</b></p>
<pre><code>
  import java.io.Serializable

  object Foo : Serializable
</code></pre>
<p>The quick fix implements <code>readResolve</code> method:</p>
<pre><code>
  import java.io.Serializable

  object Foo : Serializable {
      private fun readResolve() = Foo
  }
</code></pre>
</body>
</html>